<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>New features</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
<link rel="up" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and GtkComboBoxEntry">
<link rel="prev" href="migrating-GtkCombo.html" title="Migrating from GtkCombo to GtkComboBoxEntry">
<link rel="next" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="migrating-GtkCombo.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="gtk-migrating-GtkComboBox.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
<td><a accesskey="n" href="gtk-migrating-GtkIconView.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="new-features-GtkComboBox"></a>New features</h2></div></div></div>
<p>
      The new widgets have more to offer than a mere combination of the
      features of <a class="link" href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a> and <a class="link" href="GtkCombo.html" title="GtkCombo"><span class="type">GtkCombo</span></a>. Notable new features 
      include:
      </p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">Grid mode</span></p></td>
<td><p>Sometimes it is preferable to display the available
            options not in a linear list, but in a grid. A typical example 
            would be a "color combo" where the individual items are small 
	    square color swatches. The new widgets support gridded display 
            with the functions 
            <a class="link" href="GtkComboBox.html#gtk-combo-box-set-wrap-width" title="gtk_combo_box_set_wrap_width ()"><code class="function">gtk_combo_box_set_wrap_width()</code></a>, 
            <a class="link" href="GtkComboBox.html#gtk-combo-box-set-row-span-column" title="gtk_combo_box_set_row_span_column ()"><code class="function">gtk_combo_box_set_row_span_column()</code></a> and 
            <a class="link" href="GtkComboBox.html#gtk-combo-box-set-column-span-column" title="gtk_combo_box_set_column_span_column ()"><code class="function">gtk_combo_box_set_column_span_column()</code></a>.
          </p></td>
</tr>
<tr>
<td><p><span class="term">Display of icons</span></p></td>
<td><p>An often-heard complaint about <a class="link" href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a> is that 
          the icons which appear in the image menu items in its menu are not
	  displayed in the button showing the selected item. This limitation
          has been removed in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>; the selected item appears in the 
          same way as the options in the popup.
          </p></td>
</tr>
<tr>
<td><p><span class="term">Full tree model power</span></p></td>
<td><p>
            Since the new widgets are built around the same models that are
            used for <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>, all of the powerful machinery of tree models 
            and cell renderers can be used.
          </p></td>
</tr>
</tbody>
</table></div>
<p>
    </p>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>